<template>
	<view class="homeStore">
		<view class="image">
			<image :src="shopImage" mode="widthFix"></image>
		</view>
		<view class="content">
			<text class="title">{{shopName}}</text>
			<view class="">
				<image src="../../static/image/xing@3x.png" mode="widthFix" style="width: 25rpx;" />
				<text style="color: #ff9460; font-size: 24rpx;">4.7分</text>
				<text style="font-size: 20rpx; color: #bcbcbc;">总订单</text>
				<text style="font-size: 20rpx; color: #ff9460;">369</text>
			</view>
			<view class="address">
				<text style="font-size: 22rpx; color: #797979;margin-right: 20rpx;">{{shopAddress}}</text>
				<text style="font-size: 22rpx; color: #797979;">2.3km</text>
			</view>
			<view class="icon">
				<text>洗车</text>
				<text>美容</text>
				<text>保养</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "homeStore",
		props:{
			shopName:{
				type:String,
				default:"鼎赫汽车服务"
			},
			shopImage:{
				type:String,
				default:"https://z3.ax1x.com/2021/04/19/cowyvD.png"
			},
			shopAddress:{
				type:String,
				default:"成都市锦江区南三环路二段逸景路169号(198汽车工业园)"
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.homeStore {
		padding: 24rpx;
		display: flex;

		.image image {
			width: 192rpx;
		}

		.content {
			padding-left: 20rpx;

			.title {
				font-weight: bold;
			}

			.address {
				margin-bottom: 20rpx;
			}

			.icon {
				color: #ff9460;
				font-size: 20rpx;

				text {
					border: 1px solid #ff9460;
					border-radius: 20rpx;
					margin-right: 15rpx;
					padding: 0 10rpx;
				}
			}
		}
	}
</style>
